<style scoped lang="scss"></style>
<template>
  <div class="profile-container">
    <UserProfile :userId="userId" @click-back="goBack" :videoItemKey="videoItemKey" />
  </div>

</template>
<script setup>
import UserProfile from '../../components/common/UserProfile.vue';
import { useRoute, useRouter } from 'vue-router';
const router = useRouter();
const route = useRoute();
const userId = route.params.userId;
// video小写和大写Video视频字符串
let videoItemKey = ref('12')
console.log(userId);
const goBack = () => {
  router.back();
};
</script>